From: Tianling Shen Date: Mon, 11 Aug 2025 11:55:50 +0000 (+0800) Subject: gping: lock cargo dependencies X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=0118fb489659088565f948994d7c81d9f41a20a1;p=feed%2Fpackages.git gping: lock cargo dependencies The new version of dns-lookup failed to build with musl: error[E0308]: mismatched types --> gping/src/main.rs:331:19 | 331 | Ok(ip) => ip, | ^^ expected `Vec`, found opaque type | ::: /builder/shared-workdir/build/sdk/dl/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dns-lookup-2.1.0/src/lookup.rs:17:46 | 17 | pub fn lookup_host(host: &str) -> io::Result + use<>> { | ------------------------------------ the found opaque type | = note: expected struct `Vec` Signed-off-by: Tianling Shen --- diff --git a/net/gping/Makefile b/net/gping/Makefile index 89f366c4c2..4990490a42 100644 --- a/net/gping/Makefile +++ b/net/gping/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gping PKG_VERSION:=1.18.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/orf/gping/tar.gz/$(PKG_NAME)-v$(PKG_VERSION)? @@ -37,7 +37,7 @@ define Package/gping/description also plot the execution time of arbitrary commands. endef -Build/Compile = $(call Build/Compile/Cargo,gping) +Build/Compile = $(call Build/Compile/Cargo,gping,--locked) $(eval $(call RustBinPackage,gping)) $(eval $(call BuildPackage,gping))